
package edu.upc.clase.demo.entity;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author dramos
 */

@XmlRootElement
public class Persona implements Serializable {
      
    private Integer idpers;
    private String  tippers;
    private String  nompers;
    private String  appat;
    private String  apmat;
    private String  sexo;
    private String  tipdoc;
    private String  numdoc;
    private String  email;
    private String  passw;
    private String  fecnac;
    private String  nrocel;
    
    public Persona() {}
    
    public Persona(Integer idpers, String tippers, String  nompers, String  appat, String  apmat,  String  sexo,
                   String  tipdoc, String numdoc,  String  email,   String  passw, String  fecnac, String  nrocel)    
    {
               
        this.idpers  = idpers;
        this.tippers = tippers;
        this.nompers = nompers;
        this.appat   = appat;
        this.apmat   = apmat;
        this.sexo    = sexo;
        this.tipdoc  = tipdoc;
        this.numdoc  = numdoc;
        this.email   = email;
        this.passw   = passw;
        this.fecnac  = fecnac;
        this.nrocel  = nrocel;
           
    }

    public String getApmat() {
        return apmat;
    }

    public void setApmat(String apmat) {
        this.apmat = apmat;
    }

    public String getAppat() {
        return appat;
    }

    public void setAppat(String appat) {
        this.appat = appat;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFecnac() {
        return fecnac;
    }

    public void setFecnac(String fecnac) {
        this.fecnac = fecnac;
    }

    public Integer getIdpers() {
        return idpers;
    }

    public void setIdpers(Integer idpers) {
        this.idpers = idpers;
    }

    public String getNompers() {
        return nompers;
    }

    public void setNompers(String nompers) {
        this.nompers = nompers;
    }

    public String getNrocel() {
        return nrocel;
    }

    public void setNrocel(String nrocel) {
        this.nrocel = nrocel;
    }

    public String getNumdoc() {
        return numdoc;
    }

    public void setNumdoc(String numdoc) {
        this.numdoc = numdoc;
    }

    public String getPassw() {
        return passw;
    }

    public void setPassw(String passw) {
        this.passw = passw;
    }

    public String getSexo() {
        return sexo;
    }

    public void setSexo(String sexo) {
        this.sexo = sexo;
    }

    public String getTipdoc() {
        return tipdoc;
    }

    public void setTipdoc(String tipdoc) {
        this.tipdoc = tipdoc;
    }

    public String getTippers() {
        return tippers;
    }

    public void setTippers(String tippers) {
        this.tippers = tippers;
    }
    
    
    
    
    
}
